#include "AreaManageWidget.h"
#include "ui_AreaManageWidget.h"
#include "CommonFunc.h"
#include <QStackedWidget>

#include <QDebug>

AreaManageWidget::AreaManageWidget(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::AreaManageWidget)
{
    ui->setupUi(this);

//    ui->scrollArea->setStyleSheet("QScrollArea {background-color:transparent;}");
//    ui->scrollArea->viewport()->setStyleSheet("background-color:transparent;");
//    qDebug() << "view port: " << ui->scrollArea->viewport()->objectName();
}

AreaManageWidget::~AreaManageWidget()
{
    delete ui;
}

void AreaManageWidget::on_toolButton_return_clicked()
{
    executeFuncFromID(XUI_Login);
}
